﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Controles_Roles.aspx.cs" Inherits="FrontEndPlus.wbfrm_Controles_Roles" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <asp:Label ID="Label1" runat="server" Text="Rol:" Font-Size="Medium"></asp:Label><br/>
    <asp:DropDownList ID="cb_Roles" runat="server" EnableViewState="true" AutoPostBack="true" OnSelectedIndexChanged="cb_Roles_SelectedIndexChanged" Font-Size="Medium" Height="47px" Width="200px"></asp:DropDownList><br/><br/>
    <asp:Label ID="Label2" runat="server" Text="Formularios:" Font-Size="Medium"></asp:Label><br/>
    <asp:DropDownList ID="cb_Formularios" runat="server" Font-Size="Medium" Height="47px" Width="200px"></asp:DropDownList><p/><p/>
    <center><asp:Button ID="btn_Actualizar" runat="server" Text="Actualizar" Font-Bold="True" Font-Size="Small" ForeColor="#336600" Height="85px" OnClick="btn_Actualizar_Click" Width="94px" /></center>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <meta charset="utf8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<link type="text/css" rel="stylesheet" href="../../App_Themes/CSS/Smoke.css" />
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2"></script>
	<script type="text/javascript" src="../../JS/Smoke.js"></script>
    <script type="text/javascript" src="../../JS/Smoke.min.js"></script>
    <asp:GridView ID="dtg_Controles_Rol" runat="server" AutoGenerateColumns="False" Height="327px" OnRowDataBound="dtg_Controles_Rol_RowDataBound" >
        <Columns>
            <asp:TemplateField HeaderText="SELEC" SortExpression="SELEC">
                <EditItemTemplate>
                    <asp:CheckBox ID="Selec" runat="server" Checked='<%# Bind("SELEC") %>' />
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="Selec" runat="server" Checked='<%# Bind("SELEC") %>' Enabled="true" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="FORMULARIO" HeaderText="FORMULARIO" ReadOnly="True" SortExpression="FORMULARIO" />
            <asp:BoundField DataField="NOMBRE" HeaderText="NOMBRE" ReadOnly="True" SortExpression="NOMBRE" />
            <asp:BoundField DataField="NOMBRE_CONTROL" HeaderText="NOMBRE_CONTROL" ReadOnly="True" SortExpression="NOMBRE_CONTROL" />
            <asp:BoundField DataField="ID_CONTROL" HeaderText="ID_CONTROL" ReadOnly="True" SortExpression="ID_CONTROL" />
        </Columns>
    </asp:GridView>
</asp:Content>


